<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title></title>
	<script type="text/javascript" src="jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="jshashtable.js"></script>
	<script type="text/javascript" src="jquery.numpadDecSeperator.js"></script>
	<script type="text/javascript" src="jquery.numberformatter-1.2.1.js"></script>
	<script type="text/javascript">
		$(function(){
			
			$(".amount").numpadDecSeperator({seperator: ' '}).live('blur',function(){
				$(this).parseNumber({format:"#,##0.00", locale:"nl"});
				$(this).formatNumber({format:"#,##0.00", locale:"nl"});
			});
		});
		
		function addInput(){
			$('<input type="text" id="amount3" class="amount" />').appendTo('#addInput');
			$(".amount").unNumpadDecSeperator().numpadDecSeperator();
		}
	</script>
</head>
<body>
<input type="text" id="amount1" class="amount" />
<input type="text" id="amount2" />
<input type="button" value="add input" onclick="addInput();" />
<div id="addInput">
</div>
</body>
</html>